/**
 * @description: 获取环境变量
 */

const env = process.env.NODE_ENV

module.exports = {
  isDev: env === 'development',
  notDEV: env !== 'development',
  isProd: env === 'production',
  notProd: env !== 'production',
  isTest: env === 'test',
  notTest: env !== 'test'
}